<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
		<table width="100%" border="0">
		  <tr>
		    <th colspan="5" align='center'>管理店铺-查看优惠券</th>
		    <th ><A href='<@spring.url "/listmystorecouponitem.php"/>'>查看所有赠券</A></th>
		  </tr>
		  <tr>
		    <th colspan="7" align='right'><hr></th>
		  </tr>
		  
			<tr>
			  <th scope="row" nowrap>图片</th>
			  <th scope="row" nowrap>优惠券编号</th>
			  <th nowrap>名称</th>
			  <th nowrap>有效期</th>
			  <th nowrap>状态</th>
			  <th nowrap>已赠数</th>
			</tr>

			<#if site2ContentGroupList?has_content>
				<#list site2ContentGroupList as site2ContentList>
					<#list site2ContentList as s2c>
						<tr>
						  <th nowrap><A href='<@spring.url "/viewstorecoupondetail.jsp?s2csid=${s2c.sysId}&csid=${s2c.content.sysId}&ssid=${s2c.site.sysId}"/>'><IMG src='IMAGES/COUPON/COUPON_DEFAULT.JPG' width="160" height="100"></A></th>
						  <th scope="row" nowrap>${s2c.content.contentId?default("No-ContentId")}</th>
						  <th ><A href='<@spring.url "/viewstorecoupondetail.jsp?s2csid=${s2c.sysId}&csid=${s2c.content.sysId}&ssid=${s2c.site.sysId}"/>'>${s2c.content.contentId?default("NO-ContentId")}:${s2c.content.name?default("No-Name")}</A></th>
						  <th nowrap><#if s2c.content.startDate?has_content && s2c.content.endDate?has_content>${s2c.content.startDate?string("yyyy-MM-dd")} ~ ${s2c.content.endDate?string("yyyy-MM-dd")}</#if></th>
						  <th nowrap>服务专员编辑完毕，<A href='<@spring.url "/approvemystorecoupon.php?s2csid=${s2c.sysId}&csid=${s2c.content.sysId}&ssid=${s2c.site.sysId}"/>'>点击这里批准生效</A></th>
						  <th nowrap><A href='<@spring.url "/listmystorecouponitem.php?s2csid=${s2c.sysId}&csid=${s2c.content.sysId}&ssid=${s2c.site.sysId}"/>'>500&nbsp;&nbsp;查看</A></th>
						</tr>
					</#list>
				</#list>
			</#if>

  </table>	
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">